package com.eagle.concurrency.example.threadlocal;

public class RequestHolder {
	private static ThreadLocal<Long> requestHolder = new ThreadLocal();

	public static void add(long id){
		requestHolder.set(id);
	}

	public static Long get(){
		return requestHolder.get();
	}

	public static void remove(){
		requestHolder.remove();
	}

}
